package com.hoperun.service;

import java.io.IOException;
import java.util.HashMap;

public interface IYsSDKSV {

	/**
	 * Add user to YunShiHudong system
	 * 
	 * @param uname
	 * @param pwd
	 * @return
	 * @throws IOException
	 */
	public Integer addUser(String uname, String pwd) throws Exception;

	public HashMap<String, String> batchAddUser(String user_info_json)
			throws Exception;

	/**
	 * Send user message to other device or app client
	 * 
	 * @param srcUname
	 * @param dstUname
	 * @param content
	 * @return
	 * @throws IOException
	 */
	public String sendMessage(String srcUname, String dstUname, String content)
			throws Exception;
}
